package pack1;

class Address{
	int streetno;
	String street;
	int pincode;
	public Address(int streetno, String street, int pincode) {
		this.streetno = streetno;
		this.street = street;
		this.pincode = pincode;
	}

}
class Student1 implements Cloneable
{
	int id;
	String name;
	long phone;
	Address adr;
	public Student1(int id, String name, long phone,Address adr) {
		this.id = id;
		this.name = name;
		this.phone = phone;
		this.adr=adr;
	}
	void show(){
		System.out.println(id+"\t"+name+"\t"+phone);
	}
	protected Object clone()throws CloneNotSupportedException{
		
			return super.clone();
}

	public static class Program27 {

	public static void main(String[] args) 
	{
		Address adr1=new Address(10,"btm",560029);
		Student1 st1=new Student1(1,"srikanth",12345,adr1);
		st1.show();
		
	}
	}
}




